package com.indexingsystem.boss.entity;

import java.io.Serializable;
import java.util.Date;

public class AuthCodes implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String authCodeId;

    private String code;

    private String clientId;

    private String userId;

    private String redirectUri;

    private String scope;

    private Integer expiresIn;

    private Date createDate;

    public String getAuthCodeId() {
        return authCodeId;
    }

    public void setAuthCodeId(String authCodeId) {
        this.authCodeId = authCodeId == null ? null : authCodeId.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId == null ? null : clientId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getRedirectUri() {
        return redirectUri;
    }

    public void setRedirectUri(String redirectUri) {
        this.redirectUri = redirectUri == null ? null : redirectUri.trim();
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope == null ? null : scope.trim();
    }

    public Integer getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(Integer expiresIn) {
        this.expiresIn = expiresIn;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    
    public AuthCodes() {
		// TODO Auto-generated constructor stub
	}

	public AuthCodes(String authCodeId, String code, String clientId, String userId, String redirectUri, String scope,
			Integer expiresIn, Date createDate) {
		super();
		this.authCodeId = authCodeId;
		this.code = code;
		this.clientId = clientId;
		this.userId = userId;
		this.redirectUri = redirectUri;
		this.scope = scope;
		this.expiresIn = expiresIn;
		this.createDate = createDate;
	}

	@Override
	public String toString() {
		return "AuthCodes [authCodeId=" + authCodeId + ", code=" + code + ", clientId=" + clientId + ", userId="
				+ userId + ", redirectUri=" + redirectUri + ", scope=" + scope + ", expiresIn=" + expiresIn
				+ ", createDate=" + createDate + "]";
	}
    
    
}